<template>
    <div>
       <base-date ref="basedate" @change="changeHandel" :defaultValue="defaultValue"></base-date>
    </div>
</template>



<script>
import baseDate from '@/view/components/date/date.vue'
    export default {
        props:[
         "defaultValue"
        ],
        components:{
           baseDate
        },
        data(){
            return{

            }
        },
        mounted() {
            
            
        },
        methods:{
            changeHandel(name , v){
				this.$emit("change", "startDate", v)
            },
            reset(){
				this.$refs.basedate.reset()
			}
        }
    }
</script>
